Problem Description: IE9 standard mode, the old system pages are rarely written doctype, but do not write this declaration, the browser for the document parsing mechanism is different, especially for table and style width, height is 100% layout, and highly adaptive implementation of the program has an impact, do not know can be Baidu first, then do not write, and want to add 1 mask layer effect, generally we mask layer is the use of position absolute
Now the market on a variety of browsers, Baidu Browser, Google browser, Firefox browser, Cheetah Browser and so on. Now many browsers are divided into compatible mode and speed mode, the compatibility mode is mainly to prevent some net silver or online shop, such as the situation of the transaction site can not be logg
Solve the Problem of IE compatibility mode, ie compatibility modeThe IE browser has added the compatibility mode since IE8. After enabling the mode, it will be rendered with an earlier version of IE. When you browse a webpage, the
mode!2. Google Chrome frame also allows IE to use Chrome's engine:3. Force IE8 to use IE7 mode to parseOr4. Force IE8 to use IE6 or IE5 mode to parse5. If a specific version of IE support requires more than one compatibility mode
(' Your browser does not support automatic automatic setting of the home page,Please use the browser menu to manually set! ');}}
XML compatible
function has--Xml_loadfile:xml synchronous/Asynchronous loading.xml_transformnode:xsl conversion.Xml_text: The text of the node.selectSingleNode: Select a single node based on XPath.SelectNodes: Select multiple nodes based on XPath.All code (zyllibjs_xml.js)--
The code is as follows
Copy Code
/*Zyllibjs_xmlXML pro
Original Author:Micron blog
I used to write an article about CSS hack.ArticleBut I recently looked back and found that my understanding was not profound enough and my summary was not concise. So I will try again today to write a new article. Common CSS
Hack is as follows (I only tested ie FF chrome ).
Hack list (all tested by the author and in standard mode, hybrid
In JavaScript For browser compatibility-solutions to browser compatibility issues have been tested in IE, FF, Chrome, in IE, FF, and Chrome tests, the CSS compatibility and JS compatibility in the browser have been briefly describ
distance from the top of the browser is obtained based on the interface mentioned above, which can be used to calculate the desired scrolling height, as shown in the diagram below:
So, the page to scroll to the location is:
Copy Code code as follows:
Document.body.scrolltop+element.getboundingclientrect (). Top;
Here, incidentally, Getboundingclientrect (). top Gets the difference between scrolling hidden and not scrolling:
As you can see above, even if you want to
discovery or IE8. Later I knew if IE enabled Chrome core There are two ways: (in document 2)
Modify the registry, ie all use the chrome core from now on. (Not in line with business needs, customers also expect to use IE8 to access their OA)
Add a x-ua-compatible-like label to your Web page and proactively let IE use call chrome core. (That's what we
In September 2, Google officially released its open-source browser chrome beta version for download.
As a developer, in addition to the fresh feeling and new experience that Google browser brings to us, they may unconsciously think about compatibility with other browsers, after all, we have been overwhelmed by IE6, IE7, and Firefox. This is not just the IE8 release of beta2. Now
Hack List (all tested by the author, in standard mode, hybrid mode is rarely used, so it is not tested ):The pink part is the property hack, and the yellow part is the selector hack, which can be used in combination. In addition, Firefox and Chrome also have their proprietary hack.Example:Firefox:@-Moz-document url-prefix ()/* when writing the outer part of the s
See also: http://www.divcss5.com/css-hack/c263.shtml
CSS Google browser css Chrome css Safari browser to identify CSS hack
We know and will use the difference between CSS ie Firefox browser Div+css HACK, here for you to introduce the difference between Google browser (Chrome) Apple browser (Safari) and IE between the HACK;
Only WebKit Core browser Google browser, Safari browser identified CSS hack
This article mainly introduces how to disable the browser input box and automatically complete compatibility with mainstream browsers such as IE, ff, and chrome. For more information, see. Hope to help you
The Firefox and IE browsers each implement the input history function, which simplifies the input troubles. However, sometimes the pop-up drop-down box blocks the content displayed on the page, in some c
It is convenient for people who only draw conclusions:
Ie6: the absolute position of the div. when the container is full, it is different from other browsers. other browsers will be placed below, while ie6 will be placed on the right. Remember to set the left attribute.
In chrome (webkit): document. ready is triggered before the image is loaded. When there is an image operation, it is best to use window. load
Develop a simple jquery plug-in, a div, wh
Document directory
6. A comprehensive list of IE6 +/Firefox/Webkit/Opera css hack:
Once people get used to something, it is difficult to modify it. There are various reasons why new browsers are becoming increasingly popular and old browsers cannot be eliminated. Increasing Speed is always faster than dying, leading to browser compatibility. Speaking of browser compatibility, css hack is natur
Browser compatibility issues have been the former development engineer compared to the problem of headache, familiar with the rules of the inside has become simple, here is a piece of information can be shared to everyone, we usually follow this rule in the development process, will become more relaxed:CSS hack compatibility table for each browser:
IE6
IE7
IE8
Firefox
Browser compatibility issues have been the former development engineer compared to the problem of headache, familiar with the rules of the inside has become simple, here is a piece of information can be shared to everyone, we usually follow this rule in the development process, will become more relaxed:CSS hack compatibility table for each browser:
IE6
IE7
IE8
Firefox
JS of IE, Firefox, and chromeCodeCompatibility considerations
Jangogo @ 2009-6-26 12:03:00
Recently, the company's 4 FangSifangSifangBecause online software products are widely praised by more users, the company decided to only support IE and expand to support Firefox and chrome. The Walkman version decided to use chrome as the client, when upgrading code
Today, when I sorted out the CSS of my website, I found that my website was distorted under Firefox. At this time, I am in a hurry.
I found a lot of information on the Internet and found that the following content is more practical: friends who are familiar with CSS must have a good understanding of CSS hack, now we are competing for Internet Explorer, Firefox browser, Chrome browser, Opera browser, and Safari browser.
Here I have sorted out the CS
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.